import Vue from 'vue'
import { resetForm, handleTree } from "@/utils/index";
import Pagination from './components/Pagination/pagination.vue'
import ScreenFull from './components/ScreenFull/screenFull.vue'
import DownloadList from './components/DownloadList/downloadList.vue'
import TableCompEle from './components/TableComp/tableCompElement.vue'
import tableCompUmi from './components/TableComp/tableCompUmi.vue'
import SearchComp from './components/SearchComp/searchComp.vue'
import RightToolbar from './components/RightToolbar/rightToolbar.vue'
import EmptyComp from './components/EmptyComp/emptyComp.vue'
import TinymceEditor from '@/components/TinymceEditor/index'
import ButtonComp from '@/components/ButtonComp/buttonComp'
import { UTable, UTableColumn, UxGrid, UxTableColumn } from 'umy-ui'
import { getDicts } from "@/api/system";
Vue.prototype.handleTree = handleTree
Vue.prototype.resetForm = resetForm
Vue.prototype.getDicts = getDicts

Vue.component(UxGrid.name, UxGrid)
Vue.component(UxTableColumn.name, UxTableColumn)
Vue.component(UTable.name, UTable)
Vue.component(UTableColumn.name, UTableColumn)
Vue.component('ScreenFull', ScreenFull)
Vue.component('DownloadList', DownloadList)
Vue.component('Pagination', Pagination)
Vue.component('TableCompEle', TableCompEle) // 普通分页表格
Vue.component('TableCompUmi', tableCompUmi) //大数据表格
Vue.component('SearchComp', SearchComp)
Vue.component('RightToolbar', RightToolbar)
Vue.component('EmptyComp', EmptyComp)
Vue.component('TinymceEditor', TinymceEditor)
Vue.component('TableCompUmi', tableCompUmi)
Vue.component('ButtonComp', ButtonComp)

